Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerLuca Boccassi <bluca@debian.org>
Fri, 10 Nov 2023 00:25:41 +0000 (00:25 +0000)
commitf9ef4c64b7b13624307b4674e7837e302ab9da5e
tree977fe76d54cf6f10e68b9eaa5c6f01b53adf4e84
parent003d7fad33300429c10c15132f9374ddd1e19542
Only start logind if dbus is installed

logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.

Consider both dbus-daemon (the reference implementation) and
dbus-broker.

Part of #772700

Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
units/systemd-logind.service.in